//
//  DestCollectionFlowLayout.h
//  TravelEveryDay
//
//  Created by dlios on 15/10/26.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol FlowLayoutDelegate <UICollectionViewDelegateFlowLayout>

- (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath;


@end
@interface DestCollectionFlowLayout : UICollectionViewFlowLayout

@property(nonatomic,assign)id<FlowLayoutDelegate>delegate;
@property(nonatomic,strong)NSMutableArray *array;
@property(nonatomic,assign)CGFloat maxwidth;

@end
